var mongoose = require("../db");

var ProductSchema = new mongoose.Schema({
  imgurl: String,
  title: String,
  littleTitle: String,
  price: Number,
  disPrice: Number,
  area: String,
  morearea: String,
  // 不输出版本号
}, { versionKey: false });

const Product = mongoose.model('products', ProductSchema);

module.exports = Product;
